package com.indexingsystem.boss.admin.mapper;

import java.util.List;

import com.indexingsystem.boss.Vo.TasksQueryVo;
import com.indexingsystem.boss.Vo.TasksVo;
import com.indexingsystem.boss.entity.Tasks;

public interface TasksMapper {
	
    int deleteByPrimaryKey(String id);

    int insert(Tasks record);

    int insertSelective(Tasks record);

    Tasks selectByPrimaryKey(String id);
    
    Tasks selectTaskName(String name);

    int updateByPrimaryKeySelective(Tasks record);

    int updateByPrimaryKey(Tasks record);
    
    int updateStatusByPrimaryKey(String id,Integer status);
    
	List<TasksVo> selectTasksList(TasksQueryVo tasksVo);

	Integer getTasksListCount(TasksQueryVo tasksVo);
	
    List<Tasks> findList();
}